package com.attendance.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * 用户部门
 *
 * @author 今朝
 * @date 2021/03/18
 */
@Component
@TableName("t_depart_user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DepartUser {
    @TableId(type = IdType.INPUT)
    private Long departId;
    private Long userId;
}
